Keep count of the displayed items to build the menu items mnemonic instead
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 8 Feb 2007 14:22:20 +0000 (14:22 +0000)
committerEmmanuele Bassi <ebassi@src.gnome.org>
Thu, 8 Feb 2007 14:22:20 +0000 (14:22 +0000)
commitada1782221284203f30f5fe779064f926619a360
treef5026663b7dd87beb85aec86888f8900b916e4da
parent8a8202ce13a8355b90e92d53dcc29b4b1e9d9189
Keep count of the displayed items to build the menu items mnemonic instead

2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
of the displayed items to build the menu items mnemonic instead
of the overall item count. (#377164)

(idle_populate_clean_up): Append a menu item if all the items
got filtered in the idle populate function. (#405696)

svn path=/trunk/; revision=17277
ChangeLog
gtk/gtkrecentchoosermenu.c
tests/Makefile.am
tests/testrecentchoosermenu.c [new file with mode: 0644]